package cn.vivi.domain;

public class Classes {

	private Integer id;
	private String name;
	private Integer fatherId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Deprecated
	public void setFather_id(Integer id) {
		this.fatherId = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getFatherId() {
		return fatherId;
	}

	public void setFatherId(Integer fatherId) {
		this.fatherId = fatherId;
	}

	@Override
	public String toString() {
		return "Classes [id=" + id + ", name=" + name + ", fatherId=" + fatherId + "]";
	}

}
